package team.zero.lemon.module.sys.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.sys.entity.UserJobOrg;

import java.util.List;

@MyBatisDao
public interface IUserJobOrgDao extends ICrudDao<UserJobOrg> {

    List<UserJobOrg> findByUserIdJobId(UserJobOrg userRoleOrg);
    @Deprecated
    public int deleteByUserIdJobId(@Param("userId") int userId,@Param("jobId") int jobId);

}